/* Copyright (c) 2004-2024 peigen.info. All rights reserved. */

package info.peigen.hotpot.business.product.manage.form;

import info.peigen.hotpot.common.core.enums.YesOrNo;
import info.peigen.hotpot.common.service.base.manage.ManageFormBase;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import lombok.*;
import lombok.experimental.Accessors;
import lombok.experimental.FieldDefaults;
import lombok.experimental.SuperBuilder;

/**
 * <b>(ProductBrandManageCreateForm)</b>
 * 管理后台 创建"商品品牌"表单
 *
 * @author Peigen
 * @version 1.0.0
 * @since 2024-05-02
 */
@EqualsAndHashCode(callSuper = true)
@SuperBuilder
@Data
@NoArgsConstructor
@AllArgsConstructor
@FieldDefaults(level = AccessLevel.PRIVATE)
@Accessors(chain = true)
public class ProductBrandManageCreateForm extends ManageFormBase {
    /** 品牌Id */
    @Size(max = 30)
    String  brandId;
    /** 品牌名 */
    @Size(max = 100)
    String  name;
    /** 品牌常用名 */
    @NotEmpty
    @Size(max = 100)
    String  favorName;
    /** logo */
    @NotEmpty
    @Size(max = 100)
    String  logo;
    /** 品牌故事 */
    @NotEmpty
    @Size(max = 2000)
    String  story;
    /** 关联品牌 */
    @NotEmpty
    @Size(max = 2000)
    String  relation;
    /** 是否为自营品牌 */
    @Size(max = 30)
    YesOrNo self;
    /** 操作员Id */
    @NotEmpty
    @Size(max = 30)
    String  operatorId;
    /** 逻辑删除标记 */
    @NotNull
    Integer enable;
}